MousePressed

An event indicating that the mouse button has been pressed.

Types

Link copied to clipboard
class Builder
A builder of MousePressed.

Functions

Link copied to clipboard
open fun button(): MouseButton
Returns the pressed mouse button.
Link copied to clipboard
open fun clickCount(): Int
Returns the count of consecutive clicks that happened in a short amount of time.
Link copied to clipboard
Returns the keyboard modifiers applied.
Link copied to clipboard
open fun location(): Point
Returns the mouse position relative to the bounds of the browser instance.
Link copied to clipboard
Returns the mouse position relative to the bounds of the screen.
Link copied to clipboard
Returns the mouse modifiers applied.
Link copied to clipboard
Creates a new MousePressed builder with the given required parameters.